optional

fun <T> Registry<T>.optional(id: Identifier): Optional<T>
fun <T> RegistryWrapper.WrapperLookup.optional(key: RegistryKey<out Registry<T>>): Optional<out RegistryWrapper.Impl<T>>